﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace Jiz.WebApi
{
    public interface IActionParams
    {
        void ParseQueryString(HttpRequest request);

        void ParseForm(HttpRequest request);
    }

    [AttributeUsage(AttributeTargets.Class)]
    public class ActionAttribute : Attribute
    {
        public String Name { get; set; }
    }

    [AttributeUsage(AttributeTargets.Property)]
    public class ParameterAttribute : Attribute
    {
        public string Namespace { get; set; }
        public String Name { get; set; }
    }
}
